package cqie.edu.bootexperiment3.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName t_order
 */

@Data
@NoArgsConstructor
public class TOrder{

    private Integer id;

    private String orderNo;

    private BigDecimal price;

    private Integer customerId;

    private TCustomer customer;

    public TOrder(Integer id, String orderNo, BigDecimal price, Integer customerId) {
        this.id = id;
        this.orderNo = orderNo;
        this.price = price;
        this.customerId = customerId;
    }


}